/**
 * 系统个人中心
 */
import request from "@/codecat/request";
export const api = "/system";
export const updatePwdApi = "/user/update_my_pwd";

// 查询当前登录用户详细
export function getUser() {
	return request({
		url: "/user/login_info",
		method: "post",
		data: {},
		headers: {
			repeatSubmit: false,
		},
	});
}

export function changeSchool(data) {
	return request({
		url: "/user/change_school",
		method: "post",
		data,
	});
}